#include<stdio.h>
#define pi 3.1415926
int main()
{
    float r=1.5;
    float h=3;
    float c;
    float s1;
    float s2;
    float v1;
    float v2;
    c=2*pi*r;
    s1=pi*r*r;
    s2=4*pi*r;
    v1=4/3*pi*r*r;
    v2=pi*r*r*2+c*h;
    printf("area1 is %3.2lf\n",s1);
    printf("area2 is %3.2lf\n",s2);
    printf("perimeter is %3.2lf\n",c);
    printf("volume1 is %3.2lf\n",v1);
    printf("volume2 is %3.2lf\n",v2);

}